﻿using System.ComponentModel;

namespace Domain.Models
{
    [DisplayName("角色权限")]
    public class RolePermission
    {
        [DisplayName("角色编号")]
        public int RoleId { get; set; }

        [DisplayName("权限编号")]
        public int PermissionId { get; set; }

        [DisplayName("角色")]
        public virtual Role Role { get; set; }

        [DisplayName("权限")]
        public virtual Permission Permission { get; set; }

    }
}
